package com.monlyu.bean;

public class EnumsBean {
	private String type;
	private Object[] show;
	private boolean showVal;
	private boolean hasSuper;

	/**
	 * 显示值
	 */
	public final static boolean SHOWVAL_YES = true;
	/**
	 * 不现实值对象
	 */
	public final static boolean SHOWVAL_NO = false;

	/** 有父类的对象 */
	public final static boolean HASSUPER_YES = true;

	/** 没有父类的对象 */
	public final static boolean HASSUPER_NO = false;

	/**
	 * 构造器
	 * 
	 * @param _type
	 *            类型
	 * @param sups
	 *            是有有supoir属性
	 * @param _showVal
	 *            是否需要显示值对象出来
	 * @param values
	 *            对应的字段属性
	 */
	public EnumsBean(String _type, Boolean sups, Boolean _showVal, Object... values) {
		this.type = _type;
		this.showVal = _showVal;
		this.hasSuper = sups;
		this.show = values;
	}

	public Object[] getShow() {
		return show;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setShow(Object[] show) {
		this.show = show;
	}

	public void setShow(String[] show) {
		this.show = show;
	}

	public boolean isHasSuper() {
		return hasSuper;
	}

	public void setHasSuper(boolean hasSuper) {
		this.hasSuper = hasSuper;
	}

	public boolean isShowVal() {
		return showVal;
	}

	public void setShowVal(boolean showVal) {
		this.showVal = showVal;
	}
}
